﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="产品出库单.aspx.cs" Inherits="syc.ZhiJian.产品出库单" %>

<head runat="server">
    <title></title>
</head>
<body>
    <script type="text/javascript" language="javascript" src="/common.js"></script>
     <script src="jquery.js" type="text/javascript"></script>
    <script type="text/javascript" language="javascript" >

        $(document).ready(function() {
            $("#stamp").hide();
            $("#DropDownList1").hide();

            var status = $("#DropDownList1").val();
            if (status == "True") {
                $("#GaiZhang").val("去章");
                $("#stamp").show();
            } else {
                $("#stamp").hide();
            }

            //在CHECK和UNCHECK事件上绑定上函数，检查所有的CHECKBOX并计数，等于8则显示章子，否则继续隐藏
            $("#CLOSE").click(
                         function() {
                             window.history.go(-1);
                         }
                  );

        });


						
</script>
    <form id="form1" runat="server">
    <div id="wintop" class="wintop">产品出库单</div>
        <asp:Panel ID="Panel1" runat="server" CssClass="panel">      
            
           <asp:Button ID="GaiZhang" class="button" runat="server" Text="盖章" 
                onclick="GaiZhang_Click"  />
        </asp:Panel>

        <asp:Panel ID="Panel2" runat="server" CssClass="panel2">
            <asp:Label ID="Message" runat="server" Text="·准备就绪" CssClass="prompt"></asp:Label>
        </asp:Panel>


<asp:SqlDataSource ID="SqlDataSource3" runat="server" 
ConnectionString="<%$ ConnectionStrings:SCMConnectionString1 %>" 
SelectCommand="SELECT [Value] FROM [系统变量] where [Name]='仓储主管'">
</asp:SqlDataSource>

        <script>            putBillHead();</script>
        
    <table border="0" cellpadding="3" style="width:911px;border-collapse: collapse;font-size:14px; padding:5px;">
        <tr>
	        <td style="font-size:24px;" colspan="3" align="center">陕西延长石油材料有限公司</td>
        </tr>
        <tr>
	        <td width="33%">  </td>
	        <td width="34%" style="font-size:24px;" align="center">产品出库清单</td>
	        <td width="33%" align="right">编码：SYC/ZJ-WL-20</td>
        </tr>
        <tr>
	        <td>　</td>
	        <td>　</td>
	        <td align="right">
	            <img alt="" src="/Icons/29.png" align="middle"
	            onclick="makecalendar(document.getElementById('RiQi').value, document.getElementById('RiQi'));" /><asp:TextBox ID="RiQi" runat="server" CssClass="blank_center" 
                        Width="120px"></asp:TextBox>
            </td>
        </tr>
    </table>
    <table border="1" cellspacing="0" cellpadding="0" style="border-collapse: collapse;font-size:14px;" bordercolor="#333333">
        <tr>
	        <td style="height:24px;" align="center">订货单位</td>
	        <td align="center" colspan="2"><asp:TextBox ID="DingHuo" runat="server" 
                    CssClass="blank_center" ReadOnly="True"></asp:TextBox>
                    </td>
	        <td align="center">技术条件</td>
	        <td align="center">API Spec5CT</td>
	        <td align="center">合 同 号</td>
	        <td align="center" colspan="2"><asp:TextBox ID="HeTongHao" runat="server" 
                    CssClass="blank_center" ReadOnly="True"></asp:TextBox>
                    </td>
	        <td align="center">序 号</td>
	        <td align="center">
                <asp:TextBox ID="DanHao" runat="server" CssClass="blank_center"></asp:TextBox>
                　</td>
        </tr>
        <tr>
	        <td style="height:24px;" align="center">产品类别</td>
	        <td>
                <asp:TextBox ID="ChanPin" runat="server" 
                    CssClass="blank_center" ReadOnly="True"></asp:TextBox>
            </td>
	        <td align="center">
			<p align="center">钢级</td>
	        <td align="center"><asp:TextBox ID="GangJi" runat="server" CssClass="blank_center" 
                    ReadOnly="True">J55</asp:TextBox>
            </td>
	        <td align="center">规格(mm)</td>
	        <td><asp:TextBox ID="GuiGe" runat="server" CssClass="blank_center" 
                    ReadOnly="True"></asp:TextBox>
            </td>
	        <td align="center">总支数</td>
	        <td><asp:TextBox ID="ZongZhiShu" runat="server" CssClass="blank_center" ReadOnly="True"></asp:TextBox>
            </td>
	        <td align="center">生产单位</td>
	        <td>
	        <asp:TextBox ID="ShengChan0" runat="server" CssClass="blank_center" ReadOnly="True"></asp:TextBox>
                <asp:DropDownList ID="ShengChan" runat="server"  Visible="false"
                    Width="90px">
                    <asp:ListItem Value="1">一分厂</asp:ListItem>
                    <asp:ListItem Value="2">二分厂</asp:ListItem>
                    <asp:ListItem Value="3">五分厂</asp:ListItem>
                </asp:DropDownList>
            </td>
        </tr>
        <tr>
	        <td style="height:24px;">
			<p align="center">总重量(吨)</td>
	        <td colspan="2">
                <asp:TextBox ID="ZongZhong" runat="server" CssClass="blank_center" 
                    ReadOnly="True"></asp:TextBox>
            </td>
	        <td>
			<p align="center">总件数</td>
	        <td><asp:TextBox ID="ZongJian" runat="server" CssClass="blank_center" 
                    ReadOnly="True"></asp:TextBox>
            </td>
	        <td>
			<p align="center">总长度m</td>
	        <td colspan="2">
                <asp:TextBox ID="ZongChang" runat="server" CssClass="blank_center" 
                    ReadOnly="True"></asp:TextBox>
            </td>
	        <td>
			<p align="center">发货方式</td>
	        <td><asp:TextBox ID="FaHuoFangShi" runat="server" CssClass="blank_center" ReadOnly="True"></asp:TextBox>
                    </td>
        </tr>
        <tr>
	        <td style="width:90px;height:24px;" align="center">原料供货商</td>
	        <td style="width:90px;" align="center">炉号</td>
	        <td style="width:90px;" align="center">捆数编号</td>
	        <td style="width:90px;" align="center">捆重量(kg)</td>
	        <td style="width:90px;" align="center">捆长度(m)</td>
	        <td style="width:90px;" align="center">原料供货商</td>
	        <td style="width:90px;" align="center">炉号</td>
	        <td style="width:90px;" align="center">捆数编号</td>
	        <td style="width:90px;" align="center">捆重量(kg)</td>
	        <td style="width:90px;" align="center">捆长度(m)</td>
        </tr>
        <tr>
	        <td><asp:TextBox ID="GongHuo1" runat="server" CssClass="blank_center" ReadOnly="True"></asp:TextBox></td>
	        <td><asp:TextBox ID="LuHao1" runat="server" CssClass="blank_center" ReadOnly="True"></asp:TextBox></td>
	        <td><asp:TextBox ID="KunHao1" runat="server" CssClass="blank_center"></asp:TextBox></td>
	        <td><asp:TextBox ID="KunZhong1" runat="server" CssClass="blank_center" ReadOnly="True"></asp:TextBox></td>
	        <td><asp:TextBox ID="KunChang1" runat="server" CssClass="blank_center" ReadOnly="True"></asp:TextBox></td>

	        <td><asp:TextBox ID="GongHuo15" runat="server" CssClass="blank_center" ReadOnly="True"></asp:TextBox></td>
	        <td><asp:TextBox ID="LuHao15" runat="server" CssClass="blank_center" ReadOnly="True"></asp:TextBox></td>
	        <td><asp:TextBox ID="KunHao15" runat="server" CssClass="blank_center"></asp:TextBox></td>
	        <td><asp:TextBox ID="KunZhong15" runat="server" CssClass="blank_center" ReadOnly="True"></asp:TextBox></td>
	        <td><asp:TextBox ID="KunChang15" runat="server" CssClass="blank_center" ReadOnly="True"></asp:TextBox></td>
        </tr>


        <tr>
	        <td><asp:TextBox ID="GongHuo2" runat="server" CssClass="blank_center" ReadOnly="True"></asp:TextBox></td>
	        <td><asp:TextBox ID="LuHao2" runat="server" CssClass="blank_center" ReadOnly="True"></asp:TextBox></td>
	        <td><asp:TextBox ID="KunHao2" runat="server" CssClass="blank_center"></asp:TextBox></td>
	        <td><asp:TextBox ID="KunZhong2" runat="server" CssClass="blank_center" ReadOnly="True"></asp:TextBox></td>
	        <td><asp:TextBox ID="KunChang2" runat="server" CssClass="blank_center" ReadOnly="True"></asp:TextBox></td>
	        
	        <td><asp:TextBox ID="GongHuo16" runat="server" CssClass="blank_center" ReadOnly="True"></asp:TextBox></td>
	        <td><asp:TextBox ID="LuHao16" runat="server" CssClass="blank_center" ReadOnly="True"></asp:TextBox></td>
	        <td><asp:TextBox ID="KunHao16" runat="server" CssClass="blank_center"></asp:TextBox></td>
	        <td><asp:TextBox ID="KunZhong16" runat="server" CssClass="blank_center" ReadOnly="True"></asp:TextBox></td>
	        <td><asp:TextBox ID="KunChang16" runat="server" CssClass="blank_center" ReadOnly="True"></asp:TextBox></td>
        </tr>

        <tr>
	        <td><asp:TextBox ID="GongHuo3" runat="server" CssClass="blank_center" ReadOnly="True"></asp:TextBox></td>
	        <td><asp:TextBox ID="LuHao3" runat="server" CssClass="blank_center" ReadOnly="True"></asp:TextBox></td>
	        <td><asp:TextBox ID="KunHao3" runat="server" CssClass="blank_center"></asp:TextBox></td>
	        <td><asp:TextBox ID="KunZhong3" runat="server" CssClass="blank_center" ReadOnly="True"></asp:TextBox></td>
	        <td><asp:TextBox ID="KunChang3" runat="server" CssClass="blank_center" ReadOnly="True"></asp:TextBox></td>
	        
	        <td><asp:TextBox ID="GongHuo17" runat="server" CssClass="blank_center" ReadOnly="True"></asp:TextBox></td>
	        <td><asp:TextBox ID="LuHao17" runat="server" CssClass="blank_center" ReadOnly="True"></asp:TextBox></td>
	        <td><asp:TextBox ID="KunHao17" runat="server" CssClass="blank_center"></asp:TextBox></td>
	        <td><asp:TextBox ID="KunZhong17" runat="server" CssClass="blank_center" ReadOnly="True"></asp:TextBox></td>
	        <td><asp:TextBox ID="KunChang17" runat="server" CssClass="blank_center" ReadOnly="True"></asp:TextBox></td>
        </tr>

        <tr>
	        <td><asp:TextBox ID="GongHuo4" runat="server" CssClass="blank_center" ReadOnly="True"></asp:TextBox></td>
	        <td><asp:TextBox ID="LuHao4" runat="server" CssClass="blank_center" ReadOnly="True"></asp:TextBox></td>
	        <td><asp:TextBox ID="KunHao4" runat="server" CssClass="blank_center"></asp:TextBox></td>
	        <td><asp:TextBox ID="KunZhong4" runat="server" CssClass="blank_center" ReadOnly="True"></asp:TextBox></td>
	        <td><asp:TextBox ID="KunChang4" runat="server" CssClass="blank_center" ReadOnly="True"></asp:TextBox></td>
	        
	        <td><asp:TextBox ID="GongHuo18" runat="server" CssClass="blank_center" ReadOnly="True"></asp:TextBox></td>
	        <td><asp:TextBox ID="LuHao18" runat="server" CssClass="blank_center" ReadOnly="True"></asp:TextBox></td>
	        <td><asp:TextBox ID="KunHao18" runat="server" CssClass="blank_center"></asp:TextBox></td>
	        <td><asp:TextBox ID="KunZhong18" runat="server" CssClass="blank_center" ReadOnly="True"></asp:TextBox></td>
	        <td><asp:TextBox ID="KunChang18" runat="server" CssClass="blank_center" ReadOnly="True"></asp:TextBox></td>
        </tr>

        <tr>
	        <td><asp:TextBox ID="GongHuo5" runat="server" CssClass="blank_center" ReadOnly="True"></asp:TextBox></td>
	        <td><asp:TextBox ID="LuHao5" runat="server" CssClass="blank_center" ReadOnly="True"></asp:TextBox></td>
	        <td><asp:TextBox ID="KunHao5" runat="server" CssClass="blank_center"></asp:TextBox></td>
	        <td><asp:TextBox ID="KunZhong5" runat="server" CssClass="blank_center" ReadOnly="True"></asp:TextBox></td>
	        <td><asp:TextBox ID="KunChang5" runat="server" CssClass="blank_center" ReadOnly="True"></asp:TextBox></td>
	        
	        <td><asp:TextBox ID="GongHuo19" runat="server" CssClass="blank_center" ReadOnly="True"></asp:TextBox></td>
	        <td><asp:TextBox ID="LuHao19" runat="server" CssClass="blank_center" ReadOnly="True"></asp:TextBox></td>
	        <td><asp:TextBox ID="KunHao19" runat="server" CssClass="blank_center"></asp:TextBox></td>
	        <td><asp:TextBox ID="KunZhong19" runat="server" CssClass="blank_center" ReadOnly="True"></asp:TextBox></td>
	        <td><asp:TextBox ID="KunChang19" runat="server" CssClass="blank_center" ReadOnly="True"></asp:TextBox></td>
        </tr>

        <tr>
	        <td><asp:TextBox ID="GongHuo6" runat="server" CssClass="blank_center" ReadOnly="True"></asp:TextBox></td>
	        <td><asp:TextBox ID="LuHao6" runat="server" CssClass="blank_center" ReadOnly="True"></asp:TextBox></td>
	        <td><asp:TextBox ID="KunHao6" runat="server" CssClass="blank_center"></asp:TextBox></td>
	        <td><asp:TextBox ID="KunZhong6" runat="server" CssClass="blank_center" ReadOnly="True"></asp:TextBox></td>
	        <td><asp:TextBox ID="KunChang6" runat="server" CssClass="blank_center" ReadOnly="True"></asp:TextBox></td>
	        
	        <td><asp:TextBox ID="GongHuo20" runat="server" CssClass="blank_center" ReadOnly="True"></asp:TextBox></td>
	        <td><asp:TextBox ID="LuHao20" runat="server" CssClass="blank_center" ReadOnly="True"></asp:TextBox></td>
	        <td><asp:TextBox ID="KunHao20" runat="server" CssClass="blank_center"></asp:TextBox></td>
	        <td><asp:TextBox ID="KunZhong20" runat="server" CssClass="blank_center" ReadOnly="True"></asp:TextBox></td>
	        <td><asp:TextBox ID="KunChang20" runat="server" CssClass="blank_center" ReadOnly="True"></asp:TextBox></td>
        </tr>

        <tr>
	        <td><asp:TextBox ID="GongHuo7" runat="server" CssClass="blank_center" ReadOnly="True"></asp:TextBox></td>
	        <td><asp:TextBox ID="LuHao7" runat="server" CssClass="blank_center" ReadOnly="True"></asp:TextBox></td>
	        <td><asp:TextBox ID="KunHao7" runat="server" CssClass="blank_center"></asp:TextBox></td>
	        <td><asp:TextBox ID="KunZhong7" runat="server" CssClass="blank_center" ReadOnly="True"></asp:TextBox></td>
	        <td><asp:TextBox ID="KunChang7" runat="server" CssClass="blank_center" ReadOnly="True"></asp:TextBox></td>
	        
	        <td><asp:TextBox ID="GongHuo21" runat="server" CssClass="blank_center" ReadOnly="True"></asp:TextBox></td>
	        <td><asp:TextBox ID="LuHao21" runat="server" CssClass="blank_center" ReadOnly="True"></asp:TextBox></td>
	        <td><asp:TextBox ID="KunHao21" runat="server" CssClass="blank_center"></asp:TextBox></td>
	        <td><asp:TextBox ID="KunZhong21" runat="server" CssClass="blank_center" ReadOnly="True"></asp:TextBox></td>
	        <td><asp:TextBox ID="KunChang21" runat="server" CssClass="blank_center" ReadOnly="True"></asp:TextBox></td>
        </tr>

        <tr>
	        <td><asp:TextBox ID="GongHuo8" runat="server" CssClass="blank_center" ReadOnly="True"></asp:TextBox></td>
	        <td><asp:TextBox ID="LuHao8" runat="server" CssClass="blank_center" ReadOnly="True"></asp:TextBox></td>
	        <td><asp:TextBox ID="KunHao8" runat="server" CssClass="blank_center"></asp:TextBox></td>
	        <td><asp:TextBox ID="KunZhong8" runat="server" CssClass="blank_center" ReadOnly="True"></asp:TextBox></td>
	        <td><asp:TextBox ID="KunChang8" runat="server" CssClass="blank_center" ReadOnly="True"></asp:TextBox></td>
	        
	        <td><asp:TextBox ID="GongHuo22" runat="server" CssClass="blank_center" ReadOnly="True"></asp:TextBox></td>
	        <td><asp:TextBox ID="LuHao22" runat="server" CssClass="blank_center" ReadOnly="True"></asp:TextBox></td>
	        <td><asp:TextBox ID="KunHao22" runat="server" CssClass="blank_center"></asp:TextBox></td>
	        <td><asp:TextBox ID="KunZhong22" runat="server" CssClass="blank_center" ReadOnly="True"></asp:TextBox></td>
	        <td><asp:TextBox ID="KunChang22" runat="server" CssClass="blank_center" ReadOnly="True"></asp:TextBox></td>
        </tr>

        <tr>
	        <td><asp:TextBox ID="GongHuo9" runat="server" CssClass="blank_center" ReadOnly="True"></asp:TextBox></td>
	        <td><asp:TextBox ID="LuHao9" runat="server" CssClass="blank_center" ReadOnly="True"></asp:TextBox></td>
	        <td><asp:TextBox ID="KunHao9" runat="server" CssClass="blank_center"></asp:TextBox></td>
	        <td><asp:TextBox ID="KunZhong9" runat="server" CssClass="blank_center" ReadOnly="True"></asp:TextBox></td>
	        <td><asp:TextBox ID="KunChang9" runat="server" CssClass="blank_center" ReadOnly="True"></asp:TextBox></td>
	        
	        <td><asp:TextBox ID="GongHuo23" runat="server" CssClass="blank_center" ReadOnly="True"></asp:TextBox></td>
	        <td><asp:TextBox ID="LuHao23" runat="server" CssClass="blank_center" ReadOnly="True"></asp:TextBox></td>
	        <td><asp:TextBox ID="KunHao23" runat="server" CssClass="blank_center"></asp:TextBox></td>
	        <td><asp:TextBox ID="KunZhong23" runat="server" CssClass="blank_center" ReadOnly="True"></asp:TextBox></td>
	        <td><asp:TextBox ID="KunChang23" runat="server" CssClass="blank_center" ReadOnly="True"></asp:TextBox></td>
        </tr>

        <tr>
	        <td><asp:TextBox ID="GongHuo10" runat="server" CssClass="blank_center" ReadOnly="True"></asp:TextBox></td>
	        <td><asp:TextBox ID="LuHao10" runat="server" CssClass="blank_center" ReadOnly="True"></asp:TextBox></td>
	        <td><asp:TextBox ID="KunHao10" runat="server" CssClass="blank_center"></asp:TextBox></td>
	        <td><asp:TextBox ID="KunZhong10" runat="server" CssClass="blank_center" ReadOnly="True"></asp:TextBox></td>
	        <td><asp:TextBox ID="KunChang10" runat="server" CssClass="blank_center" ReadOnly="True"></asp:TextBox></td>
	        
	        <td><asp:TextBox ID="GongHuo24" runat="server" CssClass="blank_center" ReadOnly="True"></asp:TextBox></td>
	        <td><asp:TextBox ID="LuHao24" runat="server" CssClass="blank_center" ReadOnly="True"></asp:TextBox></td>
	        <td><asp:TextBox ID="KunHao24" runat="server" CssClass="blank_center"></asp:TextBox></td>
	        <td><asp:TextBox ID="KunZhong24" runat="server" CssClass="blank_center" ReadOnly="True"></asp:TextBox></td>
	        <td><asp:TextBox ID="KunChang24" runat="server" CssClass="blank_center" ReadOnly="True"></asp:TextBox></td>
        </tr>

        <tr>
	        <td><asp:TextBox ID="GongHuo11" runat="server" CssClass="blank_center" ReadOnly="True"></asp:TextBox></td>
	        <td><asp:TextBox ID="LuHao11" runat="server" CssClass="blank_center" ReadOnly="True"></asp:TextBox></td>
	        <td><asp:TextBox ID="KunHao11" runat="server" CssClass="blank_center"></asp:TextBox></td>
	        <td><asp:TextBox ID="KunZhong11" runat="server" CssClass="blank_center" ReadOnly="True"></asp:TextBox></td>
	        <td><asp:TextBox ID="KunChang11" runat="server" CssClass="blank_center" ReadOnly="True"></asp:TextBox></td>
	        
	        <td><asp:TextBox ID="GongHuo25" runat="server" CssClass="blank_center" ReadOnly="True"></asp:TextBox></td>
	        <td><asp:TextBox ID="LuHao25" runat="server" CssClass="blank_center" ReadOnly="True"></asp:TextBox></td>
	        <td><asp:TextBox ID="KunHao25" runat="server" CssClass="blank_center"></asp:TextBox></td>
	        <td><asp:TextBox ID="KunZhong25" runat="server" CssClass="blank_center" ReadOnly="True"></asp:TextBox></td>
	        <td><asp:TextBox ID="KunChang25" runat="server" CssClass="blank_center" ReadOnly="True"></asp:TextBox></td>
        </tr>


        <tr>
	        <td><asp:TextBox ID="GongHuo12" runat="server" CssClass="blank_center" ReadOnly="True"></asp:TextBox></td>
	        <td><asp:TextBox ID="LuHao12" runat="server" CssClass="blank_center" ReadOnly="True"></asp:TextBox></td>
	        <td><asp:TextBox ID="KunHao12" runat="server" CssClass="blank_center"></asp:TextBox></td>
	        <td><asp:TextBox ID="KunZhong12" runat="server" CssClass="blank_center" ReadOnly="True"></asp:TextBox></td>
	        <td><asp:TextBox ID="KunChang12" runat="server" CssClass="blank_center" ReadOnly="True"></asp:TextBox></td>
	        
	        <td><asp:TextBox ID="GongHuo26" runat="server" CssClass="blank_center" ReadOnly="True"></asp:TextBox></td>
	        <td><asp:TextBox ID="LuHao26" runat="server" CssClass="blank_center" ReadOnly="True"></asp:TextBox></td>
	        <td><asp:TextBox ID="KunHao26" runat="server" CssClass="blank_center"></asp:TextBox></td>
	        <td><asp:TextBox ID="KunZhong26" runat="server" CssClass="blank_center" ReadOnly="True"></asp:TextBox></td>
	        <td><asp:TextBox ID="KunChang26" runat="server" CssClass="blank_center" ReadOnly="True"></asp:TextBox></td>
        </tr>

        <tr>
	        <td><asp:TextBox ID="GongHuo13" runat="server" CssClass="blank_center" ReadOnly="True"></asp:TextBox></td>
	        <td><asp:TextBox ID="LuHao13" runat="server" CssClass="blank_center" ReadOnly="True"></asp:TextBox></td>
	        <td><asp:TextBox ID="KunHao13" runat="server" CssClass="blank_center"></asp:TextBox></td>
	        <td><asp:TextBox ID="KunZhong13" runat="server" CssClass="blank_center" ReadOnly="True"></asp:TextBox></td>
	        <td><asp:TextBox ID="KunChang13" runat="server" CssClass="blank_center" ReadOnly="True"></asp:TextBox></td>
	        
	        <td><asp:TextBox ID="GongHuo27" runat="server" CssClass="blank_center" ReadOnly="True"></asp:TextBox></td>
	        <td><asp:TextBox ID="LuHao27" runat="server" CssClass="blank_center" ReadOnly="True"></asp:TextBox></td>
	        <td><asp:TextBox ID="KunHao27" runat="server" CssClass="blank_center"></asp:TextBox></td>
	        <td><asp:TextBox ID="KunZhong27" runat="server" CssClass="blank_center" ReadOnly="True"></asp:TextBox></td>
	        <td><asp:TextBox ID="KunChang27" runat="server" CssClass="blank_center" ReadOnly="True"></asp:TextBox></td>
        </tr>

        <tr>
	        <td><asp:TextBox ID="GongHuo14" runat="server" CssClass="blank_center" ReadOnly="True"></asp:TextBox></td>
	        <td><asp:TextBox ID="LuHao14" runat="server" CssClass="blank_center" ReadOnly="True"></asp:TextBox></td>
	        <td><asp:TextBox ID="KunHao14" runat="server" CssClass="blank_center"></asp:TextBox></td>
	        <td><asp:TextBox ID="KunZhong14" runat="server" CssClass="blank_center" ReadOnly="True"></asp:TextBox></td>
	        <td><asp:TextBox ID="KunChang14" runat="server" CssClass="blank_center" ReadOnly="True"></asp:TextBox></td>
	        
	        <td><asp:TextBox ID="GongHuo28" runat="server" CssClass="blank_center" ReadOnly="True"></asp:TextBox></td>
	        <td><asp:TextBox ID="LuHao28" runat="server" CssClass="blank_center" ReadOnly="True"></asp:TextBox></td>
	        <td><asp:TextBox ID="KunHao28" runat="server" CssClass="blank_center"></asp:TextBox></td>
	        <td><asp:TextBox ID="KunZhong28" runat="server" CssClass="blank_center" ReadOnly="True"></asp:TextBox></td>
	        <td><asp:TextBox ID="KunChang28" runat="server" CssClass="blank_center" ReadOnly="True"></asp:TextBox></td>
        </tr>
        <tr>
	        <td align="center">备注</td>
	        <td colspan="6"><asp:TextBox ID="BeiZhu" runat="server" CssClass="blank_center" Width="100%" Height="40px" ></asp:TextBox></td>
	        <td align="center">车号</td>
	        <td colspan="2"><asp:TextBox ID="CheHao" runat="server" CssClass="blank_center" Width="120px"></asp:TextBox></td>
        </tr>
    </table>
        <table border="0" cellpadding="0" style="width:911px;border-collapse: collapse;font-size:14px;margin-top:4px;">
	            <tr>
                    <td width="25%" nowrap align="center">主管： <asp:TextBox ID="CangChuZhuGuan0" runat="server" CssClass="blank_center" ReadOnly="True"></asp:TextBox><asp:DropDownList ID="CangChuZhuGuan" runat="server"  Visible="false"
                            Width="120px" DataSourceID="SqlDataSource3" DataTextField="Value" 
                            DataValueField="Value">
                        </asp:DropDownList>
                    </td>
                    <td width="25%">　</td>
                    <td width="30%">　</td>
                    <td width="20%" nowrap align="center">保管员：<asp:TextBox ID="KuGuanYuan" runat="server" CssClass="blank_center" ReadOnly="True" Width="120px"></asp:TextBox></td>
                </tr>
	        </tr>
        </table>
             <img alt="" id="stamp" 
    src="stamp.gif" style="position: absolute;top:600px;left:700px "/>
        <script>    putBillFoot();</script>
    <asp:DropDownList ID="DropDownList1" runat="server" 
        DataSourceID="SqlDataSource1" DataTextField="是否合格" DataValueField="是否合格">
    </asp:DropDownList>
    <asp:SqlDataSource ID="SqlDataSource1" runat="server" 
        ConnectionString="<%$ ConnectionStrings:SCMConnectionString1 %>" 
        SelectCommand="SELECT [ID], [是否合格] FROM [产品出库单] WHERE ([ID] = @ID)" UpdateCommand="update [产品出库单] set [是否合格]=1 WHERE ([ID] = @ID)">
        <SelectParameters>
            <asp:QueryStringParameter DefaultValue="0" Name="ID" QueryStringField="ID" 
                Type="Int32" />
        </SelectParameters>        
        <UpdateParameters>
            <asp:QueryStringParameter DefaultValue="0" Name="ID" QueryStringField="ID" 
                Type="Int32" />
        </UpdateParameters>
    </asp:SqlDataSource>

    </form>
     
    <script>
        var textboxs = document.getElementsByTagName("input");
        for (var i = 0; i < textboxs.length; i++) {
            if (textboxs[i].className == "pageturn" || textboxs[i].className == "blank_center" || textboxs[i].className == "intxt2") {
                textboxs[i].onfocus = function(e) { this.select(); };
            }
        }
        function makecalendar(d, o) {
            obj = o;
            idate = makedate(d);
            cdate = new Date(idate.getFullYear(), idate.getMonth(), 1);
            ds.style.left = (getObjectLeft(o)-180) + "px";
            ds.style.top = (getObjectTop(o) + 25) + "px";
            ds.style.display = 'block';
            showcalendar();
        }
    </script>
    
</body>
</html>
